<span>社交账号登入</span>
{foreach :explode(',', $config['type']) as $key=>$vo }
{switch name="vo"}
{case value="Qq"}
<a href="{:url('index/synclogin/login',array('type'=>'qq'))}"><i class="layui-icon layui-icon-login-qq"></i></a>
{/case}
{case value="Weixin"}
<a href="{:url('index/synclogin/login',array('type'=>'weixin'))}"><i class="layui-icon layui-icon-login-wechat"></i></a>
{/case}
{case value="Sina"}
<a href="{:url('index/synclogin/login',array('type'=>'sina'))}"><i class="layui-icon layui-icon-login-weibo"></i></a>
{/case}
{/switch}
{/foreach}